package com.ruoyi.hippocampus.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 套餐管理对象 setmenu
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class Setmenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐ID */
    private Long id;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String setmenuName;

    /** 套餐对应的产品ID */
    @Excel(name = "套餐对应的产品ID")
    private Long productId;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private BigDecimal price;

    /** 套餐照片ID */
    @Excel(name = "套餐照片ID")
    private Long photoId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSetmenuName(String setmenuName) 
    {
        this.setmenuName = setmenuName;
    }

    public String getSetmenuName() 
    {
        return setmenuName;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setPhotoId(Long photoId) 
    {
        this.photoId = photoId;
    }

    public Long getPhotoId() 
    {
        return photoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("setmenuName", getSetmenuName())
            .append("productId", getProductId())
            .append("price", getPrice())
            .append("photoId", getPhotoId())
            .toString();
    }
}
